@foreach (var property in ViewData.ModelMetadata.Properties.Where(p => p.ShowForEdit && !this.ViewData.TemplateInfo.Visited(p)).OrderBy(m => m.Order))
{
	@this.Html.Editor(property.PropertyName)
}

